Objective-C Pocket Reference

Objective-C Pocket Reference

作者: Andrew Duncan
出版社: O'Reilly
出版在: 2003-01-14
ISBN-13: 9780596004231
ISBN-10: 0596004230
裝訂格式: Paperback
總頁數: 128 頁





內容描述


Objective-C is an exciting and dynamic approach to C-based object-oriented
programming; it's the approach adopted by Apple as the foundation for
programming under Mac OS X, a Unix-based operating system gaining wide
acceptance among programmers and other technologists. Objective-C is easy to
learn and has a simple elegance that is a welcome breath of fresh air after the
abstruse and confusing C++. To help you master the fundamentals of this
language, you'll want to keep the Objective-C Pocket Reference close at
hand. This small book contains a wealth of valuable information to speed you
over the learning curve. In this pocket reference, author Andrew Duncan
provides a quick and concise introduction to Objective-C for the experienced
programmer. In addition to covering the essentials of Objective-C syntax, Andrew
also covers important faces of the language such as memory management, the
Objective-C runtime, dynamic loading, distributed objects, and exception
handling. O'Reilly's Pocket References have become a favorite among
programmers everywhere. By providing important details in a succinct,
well-organized format, these handy books deliver just what you need to complete
the task at hand. When you've reached a sticking point in your work and need to
get to a solution quickly, the new Objective-C Pocket Reference is the
book you'll want to have.
Table of ContentsIntroduction

What Is Objective-C?
     Dynamic Dispatch
     Dynamic Typing
     Dynamic Loading
     Which Objective-C?
     How Do I Get Started?

Elements of the Language
     Objects
     Classes
     Inheritance and Subtyping
     Fields
     Methods
     Categories
     Protocols
     Declarations
     Predefined Types, Constants, and Variables

Compiler and Preprocessor Directives
     Class Declarations and Definitions
     Forward Declarations
     Expanding Directives
     Preprocessor Symbols

Compiler Flags

Remote Messaging
     Pointer Parameter Qualifiers
     Return Value Qualifiers
     Object Qualifiers

Object Lifecycle
     Creating an Object
     Copying an Object
     Deallocating an Object

Runtime Errors
     Object Error Handling
     Exceptions in Cocoa

Runtime Environment
     Class Objects
     Metaclass Objects
     Selectors
     Protocol Objects

Root Classes
     Fields
     Methods
     The Object Class
     The NSObject Class

Forwarding Messages
     Object Forwarding
     NSObject Forwarding

Memory Management
     Manual Memory Management
     Reference Counting
     Garbage Collection

Archiving Objects
     Archiving Descendants of Object
     Archiving Descendants of NSObject

Key-Value Coding
     Access Permissions
     NSKeyValueCoding Methods
     Handling Key Lookup Failures

Optimizing Method Calls

Objective-C++

Objective-C Resources

Index




相關書籍

Modern Data Access with Entity Framework Core: Database Programming Techniques for .NET, .NET Core, UWP, and Xamarin with C#

作者 Holger Schwichtenberg

2003-01-14

Android 高級編程, 4/e

作者 [美]雷托·梅爾(Reto Meier) 伊恩·雷克(Ian Lake) ;羅任榆 任強 徐攀 譯

2003-01-14

Android數據庫最佳實踐

作者 Adam Stroud 廖祜秋

2003-01-14